<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
pageContext.setAttribute("ctx", request.getContextPath());
String username = (String)request.getSession().getAttribute("realname");
%>
<style>
body{
	margin: 0;
	padding: 0;
}
</style>
<div style="height: 35px;width: 100%;background-color: #b387ed;text-align: right;">
<div style="margin-right: 100px;padding-top: 10px;">
<%if(username == null || username.equals("")){ %>
	<a href="${ctx }/pages/login.jsp">Login</a>
<%} %>
<%if(username != null && !username.equals("")){ %>
	USER : ${username}
	<a href="${ctx }/loginout">LoginOut</a>
<%} %>
<a href="${ctx }/pages/sign.jsp">Sign</a>
</div>
</div>
